
@mixin plain_hover($bg_color,$color,$hover_color) {
  background: $bg_color;
  color: $color;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  &:hover {
    background: $color;
    color: $hover_color;
  }
  &:active {
    background: darken($color, 10%);
    color: darken($hover_color, 18%);
  }
  &:disabled {
    background: lighten($bg_color, 10%);
    color: lighten($color, 40%);
  }
  @content;
}
@mixin action-bar {
  .action-bar {
    height: 39px;
    background: #f5f7fa;
    padding: 0 15px;
    box-sizing: border-box;

    .bar-btn {
      display: inline-block;
      padding: 0 6px;
      line-height: 32px;
      color: #8285f5;
      cursor: pointer;
      font-size: 14px;
      user-select: none;
      & i {
        font-size: 20px;
      }
      &:hover {
        color: #4348d4;
      }
    }
    .bar-btn + .bar-btn {
      margin-left: 8px;
    }
    .delete-btn {
      color: #f56c6c;
      &:hover {
        color: #ea0b30;
      }
    }
  }
}
